/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cc.altius.model;

import java.io.Serializable;
import javax.persistence.*;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author jitendra
 */
@Entity
@Table(name = "partner_detail")
@XmlRootElement
@NamedQueries({
    @NamedQuery(name = "PartnerDetail.findAll", query = "SELECT p FROM PartnerDetail p")})
public class PartnerDetail implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Basic(optional = false)
    @Column(name = "PARTNER_DETAIL_ID")
    private Integer partnerDetailId;
    @Column(name = "NAME")
    private String name;
    @Column(name = "ADDRESS")
    private String address;
    @Column(name = "PHONE")
    private String phone;
    @Column(name = "CONTACT_1_PERSON")
    private String contact1Person;
    @Column(name = "CONTACT_1_NUMBER")
    private String contact1Number;
    @Column(name = "CONTACT_2_PERSON")
    private String contact2Person;
    @Column(name = "CONTACT_2_NUMBER")
    private String contact2Number;
    @Column(name = "CONTACT_3_PERSON")
    private String contact3Person;
    @Column(name = "CONTACT_3_NUMBER")
    private String contact3Number;
    @Column(name = "DESCRIPTION")
    private String description;

    public PartnerDetail() {
    }

    public PartnerDetail(Integer partnerDetailId) {
        this.partnerDetailId = partnerDetailId;
    }

    public Integer getPartnerDetailId() {
        return partnerDetailId;
    }

    public void setPartnerDetailId(Integer partnerDetailId) {
        this.partnerDetailId = partnerDetailId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getContact1Person() {
        return contact1Person;
    }

    public void setContact1Person(String contact1Person) {
        this.contact1Person = contact1Person;
    }

    public String getContact1Number() {
        return contact1Number;
    }

    public void setContact1Number(String contact1Number) {
        this.contact1Number = contact1Number;
    }

    public String getContact2Person() {
        return contact2Person;
    }

    public void setContact2Person(String contact2Person) {
        this.contact2Person = contact2Person;
    }

    public String getContact2Number() {
        return contact2Number;
    }

    public void setContact2Number(String contact2Number) {
        this.contact2Number = contact2Number;
    }

    public String getContact3Person() {
        return contact3Person;
    }

    public void setContact3Person(String contact3Person) {
        this.contact3Person = contact3Person;
    }

    public String getContact3Number() {
        return contact3Number;
    }

    public void setContact3Number(String contact3Number) {
        this.contact3Number = contact3Number;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    
}
